﻿using System;
using System.Configuration;

namespace VSA.Applications
{
    public static class WebServiceFactory
    {
        public static VSA.WebService.MainService GetService()
        {
            VSA.WebService.MainService service = new VSA.WebService.MainService();
            /*VSA.WebService.VSASoapHeader soapHeader = new VSA.WebService.VSASoapHeader();
            soapHeader.UserName = ConfigurationManager.AppSettings["AccessUserName"];
            soapHeader.Password = ConfigurationManager.AppSettings["AccessPassword"];

            service.VSASoapHeaderValue = soapHeader;*/
            return service;
        }
    }
}
